package com.spa.application.dto.member;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;

@Data
@JsonInclude
public class MemberTicketDTO {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    private String name;

    private Integer type;

    private String typeName;

    private Integer expirationDate;

    private Integer quantityLimit;

    private Integer isUsable;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    private String rmb;

    private String overflow;

    private Integer comeIntoForceType;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    private Integer discountType;

}
